import VueRouter from 'vue-router';

import HelloWorld from './components/HelloWorld.vue';
import FirstPage from './pages/FirstPage.vue';

const routes = [
  { path: '/', component: FirstPage },
  { path: '/HelloWorld', component: HelloWorld },
  { path: '/FirstPage', component: FirstPage },
];

const router = new VueRouter({
  mode: 'history',
  routes,
});

export default router;
